<html>
<body>
<p>Test behavior of sync XHR during unload</p>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<iframe id="ifr" name="ifr" src="resources/xmlhttprequest-in-unload-sync.html"></iframe>
<script>
var t = async_test();

t.step_timeout(() => {
  var iframe = document.getElementById("ifr");
  iframe.src = "about:blank";
}, 1000);

</script>
</body>
</html>
